<?xml version="1.0" encoding="UTF-8"?>
<!--
    Document   : AssociadoCadastrar
    Created on : 12/02/2009, 15:54:19
    Author     : Jaime Junior
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:directive.page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ice:outputHtml id="outputHtml1">
            <ice:outputHead id="outputHead1">
                <ice:outputStyle href="./resources/stylesheet.css" id="outputStyle1"/>
                <ice:outputStyle href="./resources/camposDesabilitados.css" id="outputStyle3"/>
                <ice:outputStyle href="./xmlhttp/css/xp/xp.css" id="outputStyle2"/>
                <!-- JavaScript -->
                <script src="jscallsphp/engine.js" type="text/javascript"></script>
                <script src="jscallsphp/interface/cepLivre.js" type="application/javascript"></script>
                <script>
               /* Função para mascarar o campo */
               function mascara(o,f){
                  v_obj=o;
                  v_fun=f;
                  setTimeout("execmascara()",1);
               }
               /* Função para executar a mascara */
               function execmascara(){
                  v_obj.value=v_fun(v_obj.value);
               }
               /* Função para padronizar o CPF */
               function cpf(v){
                  v=v.replace(/\D/g,"")
                  v=v.replace(/(\d{3})(\d)/,"$1.$2")
                  v=v.replace(/(\d{3})(\d)/,"$1.$2")
                  v=v.replace(/(\d{3})(\d{1,2})$/,"$1-$2")
                  return v;
               }
               /* Função para padronizar o Telefone */
               function telefone(v){
                  v=v.replace(/\D/g,"")
                  v=v.replace(/^(\d\d)(\d)/g,"($1) $2")
                  v=v.replace(/(\d{4})(\d)/,"$1-$2")
                  return v
               }
               /*Função que padroniza CEP*/
               function cep(v){
                  v=v.replace(/\D/g,"")
                  v=v.replace(/(\d{5})(\d)/,"$1-$2")
                 return v
               }
               /* Função para receber apenas números */
               function soNumeros(v){
                  v= v.replace(/\D/gi,'');
                  return v;
               }
               /* Função para receber apenas letras */
               function soLetras(v){
                  v= v.replace(/\d/,'');
                  v= v.replace(/\,|\.|\%|\¨|\[|\]|\{|\}|\$|\;|\:|\+|\*|\@|\!|\#|\(|\)|\-|\_|\=|\+|\?|\/|\\|\"|\&amp;/,'');
                  return v;
               }
               /* Função para fixar a tela na página */
               function hidden(){
                  document.body.style.overflow='hidden';
               }
               

            </script>
                <!-- Título da página no navegador -->
                <title> Gerenciamento de Associado </title>
            </ice:outputHead>
            <body onload="hidden();">
                <ice:outputBody id="outoutBody1" style="-rave-layout: grid">
                    <ice:form acceptcharset="UTF-8" id="form1" style="">
                        <!-- Painel Sair -->
                        <ice:panelPopup autoCentre="true" binding="#{Associados$AssociadoCadastrar.painelSair}" draggable="false" id="painelSair" modal="true"
                            rendered="#{Associados$AssociadoCadastrar.panelPopup1Bean2.showDraggablePanel}"
                            style="height: 210px; left: 840px; top: 312px; position: absolute; width: 405px" visible="#{Associados$AssociadoCadastrar.panelPopup1Bean2.showModalPanel}">
                            <f:facet name="header">
                                <!-- Cabecalho Painel Sair -->
                                <ice:panelGrid id="painelSairCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgSairTitulo" value="  Sair"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <!-- Corpo Painel Sair -->
                                <ice:panelLayout id="painelSairCorpo" layout="flow" style="display: block; font-family: Verdana,Arial,Helvetica,sans-serif; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText binding="#{Associados$AssociadoCadastrar.msgPainelSair}" id="msgPainelSair"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 18px; left: 24px; top: 24px; position: absolute; text-align: center; width: 357px" value="Tem certeza que deseja sair dessa tela?"/>
                                    <ice:commandButton action="#{Associados$AssociadoCadastrar.botaoSairSim_action}"
                                        binding="#{Associados$AssociadoCadastrar.botaoSairSim}" id="botaoSairSim" image="/resources/botaoSim.png"
                                        immediate="true" partialSubmit="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 30%; top: 55%; position: absolute" value="Sim"/>
                                    <ice:commandButton action="#{Associados$AssociadoCadastrar.botaoSairNao_action}"
                                        binding="#{Associados$AssociadoCadastrar.botaoSairNao}" id="botaoSairNao" image="/resources/botaoNao.png"
                                        immediate="true" partialSubmit="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; right: 30%; top: 55%; position: absolute" value="Não"/>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <!-- Painel Consulta -->
                        <ice:panelPopup autoCentre="true" binding="#{Associados$AssociadoCadastrar.painelConsulta}" draggable="false" id="painelConsulta"
                            modal="true" rendered="#{Associados$AssociadoCadastrar.panelPopup1Bean1.showDraggablePanel}"
                            style="height: 210px; left: 840px; top: 336px; position: absolute; width: 405px" visible="#{Associados$AssociadoCadastrar.panelPopup1Bean1.showModalPanel}">
                            <f:facet name="header">
                                <!-- Cabeçalho Painel Consulta -->
                                <ice:panelGrid id="painelConsultaCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgPainelConsulta" value="Consulta Associado"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <!-- Corpo Painel Consulta -->
                                <ice:panelLayout id="painelConsultaCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText id="msgConsultaTitulo"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 18px; left: 24px; top: 0px; position: absolute; text-align: center; width: 357px" value="Digite o nome do associado que deseja consultar:"/>
                                    <ice:commandButton action="#{Associados$AssociadoCadastrar.botaoConsultaOk_action}"
                                        binding="#{Associados$AssociadoCadastrar.botaoConsultaOk}" id="botaoConsultaOk" image="/resources/botaoOk.png"
                                        immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 25%; top: 65%; position: absolute" value="Ok"/>
                                    <ice:commandButton action="#{Associados$AssociadoCadastrar.botaoConsultaCancelar_action}"
                                        binding="#{Associados$AssociadoCadastrar.botaoConsultaCancelar}" id="botaoConsultaCancelar"
                                        image="/resources/botaoCancelar.png" immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; right: 25%; top: 65%; position: absolute" value="Cancelar"/>
                                    <ice:selectInputText binding="#{Associados$AssociadoCadastrar.campoBusca}" id="campoBusca" immediate="true"
                                        partialSubmit="true" style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 48px; top: 48px; position: absolute"
                                        styleClass="campoBuscaNome" valueChangeListener="#{Associados$AssociadoCadastrar.campoBusca_processValueChange}" width="310">
                                        <f:selectItems id="selectInputText1selectedItems" value="#{Associados$AssociadoCadastrar.nomeBusca}"/>
                                    </ice:selectInputText>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <!-- Painel Aviso -->
                        <ice:panelPopup autoCentre="true" binding="#{Associados$AssociadoCadastrar.painelAviso}" draggable="false" id="painelAviso" modal="true"
                            rendered="#{Associados$AssociadoCadastrar.panelPopup1Bean2.showDraggablePanel}"
                            style="height: 210px; left: 840px; top: 360px; position: absolute; width: 405px" visible="#{Associados$AssociadoCadastrar.panelPopup1Bean2.showModalPanel}">
                            <f:facet name="header">
                                <!-- Cabeçalho Painel Aviso -->
                                <ice:panelGrid id="painelAvisoCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgPainelAviso" value="  Aviso"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <!-- Corpo Painel Aviso -->
                                <ice:panelLayout binding="#{Associados$AssociadoCadastrar.painelAvisoCorpo}" id="painelAvisoCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText binding="#{Associados$AssociadoCadastrar.msgAvisoResultado}" id="msgAvisoResultado"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 18px; left: 24px; top: 24px; position: absolute; text-align: center; width: 359px" value="Não houve resultado "/>
                                    <ice:outputText id="msgAvisoPergunta"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 18px; left: 24px; top: 72px; position: absolute; text-align: center; width: 357px" value="Deseja fazer outra consulta?"/>
                                    <ice:commandButton action="#{Associados$AssociadoCadastrar.botaoAvisoSim_action}"
                                        binding="#{Associados$AssociadoCadastrar.botaoAvisoSim}" id="botaoAvisoSim" image="/resources/botaoSim.png"
                                        immediate="true" partialSubmit="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 30%; top: 65%; position: absolute" value="Sim"/>
                                    <ice:commandButton action="#{Associados$AssociadoCadastrar.botaoNaoAviso_action}"
                                        binding="#{Associados$AssociadoCadastrar.botaoNaoAviso}" id="botaoNaoAviso" image="/resources/botaoNao.png"
                                        immediate="true" partialSubmit="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; right: 30%; top: 65%; position: absolute" value="Não"/>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <!-- Painel Mensagem -->
                        <ice:panelPopup autoCentre="true" binding="#{Associados$AssociadoCadastrar.painelMensagem}" draggable="false" id="painelMensagem"
                            modal="true" rendered="#{Associados$AssociadoCadastrar.panelPopup1Bean3.showDraggablePanel}"
                            style="height: 210px; left: 840px; top: 384px; position: absolute; width: 405px" visible="#{Associados$AssociadoCadastrar.panelPopup1Bean3.showModalPanel}">
                            <f:facet name="header">
                                <!-- Cabecalho Painel Mensagem -->
                                <ice:panelGrid id="painelMensagemCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgPainelMensagem" value="Atenção"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <!-- Corpo Painel Mensagem -->
                                <ice:panelLayout id="painelMensagemCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText binding="#{Associados$AssociadoCadastrar.msgMensagemResultado}" id="msgMensagemResultado"
                                        style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 18px; height: 17px; left: 24px; top: 48px; position: absolute; text-align: center; width: 357px" value="Operação efetuada com sucesso!"/>
                                    <ice:commandButton action="#{Associados$AssociadoCadastrar.botaoMensagemOk_action}"
                                        binding="#{Associados$AssociadoCadastrar.botaoMensagemOk}" id="botaoMensagemOk" image="/resources/botaoOk.png"
                                        immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 45%; top: 70%; position: absolute" value="Ok"/>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <!-- Painel Geral -->
                        <ice:panelGroup dragListener="#{Associados$AssociadoCadastrar.painelGeral_processMyEvent}" id="painelGeral" style="height: 768px; margin-left: -512px; left: 50%; top: 0px; position: absolute; width: 1024px">
                            <ice:graphicImage id="imagemFundo"
                                style="height: 768px; margin-left: -512px; left: 50%; top: 0px; position: absolute; width: 1024px" value="/resources/Associado.jpg"/>
                            <!-- Painel Conteúdo -->
                            <ice:panelLayout id="painelConteudo" layout="flow" style="font-family: 'Courier New',Courier,monospace; font-size: 14px; height: 620px; left: 2%; top: 12%; position: absolute; width: 980px; -rave-layout: grid">
                                <!-- outputTexts -->
                                <ice:outputText id="labelAssociacao"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 72px; position: absolute; text-align: right; width: 213px" value="Associação:"/>
                                <ice:outputText id="labelNumeroAssociado"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 96px; position: absolute; text-align: right; width: 213px" value="Nº Associado:"/>
                                <ice:outputText id="labelDataNascimento"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 120px; position: absolute; text-align: right; width: 213px" value="Data de Nascimento:"/>
                                <ice:outputText id="labelNome"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 144px; position: absolute; text-align: right; width: 213px" value="Nome:"/>
                                <ice:outputText id="labelCpf"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 168px; position: absolute; text-align: right; width: 213px" value="CPF:"/>
                                <ice:outputText id="labelSexo"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 192px; position: absolute; text-align: right; width: 213px" value="Sexo:"/>
                                <ice:outputText id="labelEmail"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 216px; position: absolute; text-align: right; width: 213px" value="E-mail:"/>
                                <ice:outputText id="labelTelefone"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 240px; position: absolute; text-align: right; width: 213px" value="Telefone:"/>
                                <ice:outputText id="labelCelular"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 264px; position: absolute; text-align: right; width: 213px" value="Celular:"/>
                                <ice:outputText id="labelTelComercial"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 288px; position: absolute; text-align: right; width: 213px" value="Tel Comercial:"/>
                                <ice:outputText id="labelEndereco"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 312px; position: absolute; text-align: right; width: 213px" value="Logradouro:"/>
                                <ice:outputText id="labelBairro"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 336px; position: absolute; text-align: right; width: 213px" value="Bairro:"/>
                                <ice:outputText id="labelComplemento"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 360px; position: absolute; text-align: right; width: 213px" value="Complemento:"/>
                                <ice:outputText id="labelSitio"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 384px; position: absolute; text-align: right; width: 213px" value="Sitio:"/>
                                <ice:outputText id="labelEstado"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 408px; position: absolute; text-align: right; width: 213px" value="Estado:"/>
                                <ice:outputText id="labelCidade"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 432px; position: absolute; text-align: right; width: 213px" value="Cidade:"/>
                                <ice:outputText id="labelCep"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 456px; position: absolute; text-align: right; width: 213px" value="CEP:"/>
                                <ice:outputText id="labelBanco"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 480px; position: absolute; text-align: right; width: 213px" value="Banco:"/>
                                <ice:outputText id="labelConta"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 504px; position: absolute; text-align: right; width: 213px" value="Conta:"/>
                                <ice:outputText id="labelAgencia"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 528px; position: absolute; text-align: right; width: 213px" value="Agência:"/>
                                <ice:outputText id="labelNumero"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 48px; top: 552px; position: absolute; text-align: right; width: 213px" value="Número Conta:"/>
                                <!-- Mensagens -->
                                <ice:message binding="#{Associados$AssociadoCadastrar.msgComboAssociacao}" fatalClass="fatalMessage" for="comboAssociacao"
                                    id="msgComboAssociacao" infoClass="infoMessage" showSummary="true" style="color: red; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 72px; position: absolute; width: 406px"/>
                                <ice:message binding="#{Associados$AssociadoCadastrar.msgNumeroAssociado}" errorClass="errorMessage" fatalClass="fatalMessage"
                                    for="campoNumeroAssociado" id="msgNumeroAssociado" infoClass="infoMessage" showSummary="true"
                                    style="color: red; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 96px; position: absolute; width: 406px" warnClass="warnMessage"/>
                                <ice:message binding="#{Associados$AssociadoCadastrar.msgDataNascimento}" errorClass="errorMessage" fatalClass="fatalMessage"
                                    for="dateDataNascimento" id="msgDataNascimento" infoClass="infoMessage" showSummary="true"
                                    style="color: red; font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 120px; position: absolute; width: 406px" warnClass="warnMessage"/>
                                <ice:message binding="#{Associados$AssociadoCadastrar.msgCampoNome}" errorClass="errorMessage" fatalClass="fatalMessage"
                                    for="campoNome" id="msgCampoNome" infoClass="infoMessage" showDetail="true" showSummary="true"
                                    style="color: red; font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 144px; position: absolute; width: 406px" warnClass="warnMessage"/>
                                <ice:message binding="#{Associados$AssociadoCadastrar.msgCpf}" errorClass="errorMessage" fatalClass="fatalMessage" for="cpf"
                                    id="msgCpf" infoClass="infoMessage" showDetail="true" showSummary="true"
                                    style="color: red; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 168px; position: absolute; width: 406px" warnClass="warnMessage"/>
                                <ice:message binding="#{Associados$AssociadoCadastrar.msgComboSexo}" errorClass="errorMessage" fatalClass="fatalMessage"
                                    for="comboSexo" id="msgComboSexo" infoClass="infoMessage" showSummary="true"
                                    style="color: red; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 192px; position: absolute; width: 406px" warnClass="warnMessage"/>
                                <ice:message binding="#{Associados$AssociadoCadastrar.msgTelefone}" errorClass="errorMessage" fatalClass="fatalMessage"
                                    for="campoTelefone" id="msgTelefone" infoClass="infoMessage" showSummary="true"
                                    style="color: red; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 240px; position: absolute; width: 406px" warnClass="warnMessage"/>
                                <ice:message binding="#{Associados$AssociadoCadastrar.msgCelular}" errorClass="errorMessage" fatalClass="fatalMessage"
                                    for="campoCelular" id="msgCelular" infoClass="infoMessage" showSummary="true"
                                    style="color: red; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 264px; position: absolute; width: 406px" warnClass="warnMessage"/>
                                <ice:message binding="#{Associados$AssociadoCadastrar.msgTelComercial}" errorClass="errorMessage" fatalClass="fatalMessage"
                                    for="campoTelComercial" id="msgTelComercial" infoClass="infoMessage" showSummary="true"
                                    style="color: red; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 288px; position: absolute; width: 406px" warnClass="warnMessage"/>
                                <ice:message binding="#{Associados$AssociadoCadastrar.msgCampoEndereco}" errorClass="errorMessage" fatalClass="fatalMessage"
                                    for="campoEndereco" id="msgCampoEndereco" infoClass="infoMessage" showSummary="true"
                                    style="color: red; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 312px; position: absolute; width: 405px" warnClass="warnMessage"/>
                                <ice:message binding="#{Associados$AssociadoCadastrar.msgCampoBairro}" errorClass="errorMessage" fatalClass="fatalMessage"
                                    for="campoBairro" id="msgCampoBairro" infoClass="infoMessage" showSummary="true"
                                    style="color: red; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 336px; position: absolute; width: 405px" warnClass="warnMessage"/>
                                <ice:message binding="#{Associados$AssociadoCadastrar.msgComboCep}" errorClass="errorMessage"
                                    fatalClass="iceMsgFatal fatalMessage" for="campoCep" id="msgComboCep" infoClass="iceMsgInfo infoMessage" showSummary="true"
                                    style="color: red; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 456px; position: absolute; width: 405px" warnClass="warnMessage"/>
                                <ice:message binding="#{Associados$AssociadoCadastrar.msgCampoAgencia}" errorClass="iceMsgError errorMessage"
                                    fatalClass="iceMsgFatal fatalMessage" for="campoAgencia" id="msgCampoAgencia" infoClass="iceMsgInfo infoMessage"
                                    showSummary="true"
                                    style="color: red; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 528px; position: absolute; width: 405px" warnClass="warnMessage"/>
                                <ice:message binding="#{Associados$AssociadoCadastrar.msgCampoNumero}" errorClass="errorMessage" fatalClass="fatalMessage"
                                    for="campoNumero" id="msgCampoNumero" infoClass="iceMsgInfo infoMessage" showSummary="true"
                                    style="color: red; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 14px; font-weight: bold; height: 20px; left: 504px; top: 552px; position: absolute; width: 405px" warnClass="warnMessage"/>
                                <!-- Componentes (Combo, CampoTexto, Calendário, ...) -->
                                <ice:selectOneMenu binding="#{Associados$AssociadoCadastrar.comboAssociacao}" id="comboAssociacao" partialSubmit="true"
                                    required="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; left: 262px; top: 72px; position: absolute; width: 230px" title="Selecione uma Associação">
                                    <f:selectItems id="selectOneMenu1selectItems" value="#{Associados$AssociadoCadastrar.associacoes}"/>
                                </ice:selectOneMenu>
                                <ice:inputText binding="#{Associados$AssociadoCadastrar.campoNumeroAssociado}" id="campoNumeroAssociado" maxlength="4"
                                    onkeypress="mascara(this,soNumeros);" partialSubmit="true" required="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 262px; top: 96px; position: absolute; width: 230px"
                                    title="Digite o número do Associado" validator="#{Associados$AssociadoCadastrar.campoNumeroAssociado_validate}" value="#{Associado.numAssociado}"/>
                                <ice:selectInputDate binding="#{Associados$AssociadoCadastrar.dateDataNascimento}"
                                    converter="#{Associados$AssociadoCadastrar.characterConverter1}" id="dateDataNascimento"
                                    inputTitle="Selecione a Data de Nascimento do Associado." partialSubmit="true" popupDateFormat="dd/MM/yyyy"
                                    renderAsPopup="true" renderMonthAsDropdown="true" renderYearAsDropdown="true" required="true"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; height: 21px; left: 262px; top: 120px; position: absolute; width: 230px" value="#{Associado.dataNasc}"/>
                                <ice:inputText binding="#{Associados$AssociadoCadastrar.campoNome}" id="campoNome" maxlength="120"
                                    onkeypress="mascara(this,soLetras);" partialSubmit="true" required="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 262px; top: 144px; position: absolute; width: 230px"
                                    title="Digite o nome do Associado" value="#{Associado.nome}"/>
                                <ice:inputText binding="#{Associados$AssociadoCadastrar.cpf}" id="cpf" maxlength="14" onkeypress="mascara(this,cpf);"
                                    partialSubmit="true" required="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 262px; top: 168px; position: absolute; width: 230px"
                                    title="Digite o cpf do Associado, apenas números" validator="#{Associados$AssociadoCadastrar.validateCpf}" value="#{Associado.cpf}"/>
                                <ice:selectOneMenu binding="#{Associados$AssociadoCadastrar.comboSexo}" id="comboSexo" partialSubmit="true" required="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; left: 262px; top: 192px; position: absolute; width: 230px"
                                    title="Selecione o sexo do Associado" value="#{Associado.sexo}">
                                    <f:selectItems id="selectOneMenu1selectItems5" value="#{Associados$AssociadoCadastrar.sexos}"/>
                                </ice:selectOneMenu>
                                <ice:inputText binding="#{Associados$AssociadoCadastrar.campoEmail}" id="campoEmail" maxlength="100" partialSubmit="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 262px; top: 216px; position: absolute; width: 230px"
                                    title="Campo Opcional" value="#{Associado.email}"/>
                                <ice:inputText binding="#{Associados$AssociadoCadastrar.campoTelefone}" id="campoTelefone" maxlength="14"
                                    onkeypress="mascara(this,telefone);" partialSubmit="true" required="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 262px; top: 240px; position: absolute; width: 230px"
                                    title="Informe um telefone, apenas números." value="#{Associado.telefoneResidencial}"/>
                                <ice:inputText binding="#{Associados$AssociadoCadastrar.campoCelular}" id="campoCelular" maxlength="14"
                                    onkeypress="mascara(this,telefone);" partialSubmit="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 262px; top: 264px; position: absolute; width: 230px"
                                    title="Campo Opcional" value="#{Associado.telefoneCelular}"/>
                                <ice:inputText binding="#{Associados$AssociadoCadastrar.campoTelComercial}" id="campoTelComercial" maxlength="14"
                                    onkeypress="mascara(this,telefone);" partialSubmit="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 262px; top: 288px; position: absolute; width: 230px"
                                    title="Campo Opcional" value="#{Associado.telefoneComercial}"/>
                                <ice:inputText binding="#{Associados$AssociadoCadastrar.campoEndereco}" id="campoEndereco" maxlength="300" partialSubmit="true"
                                    required="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 262px; top: 312px; position: absolute; width: 230px"
                                    title="Insira o endereço do Associado (Ex: Rua São Paulo nº 1234)" value="#{Endereco.logradouro}"/>
                                <ice:inputText binding="#{Associados$AssociadoCadastrar.campoBairro}" id="campoBairro" maxlength="200" partialSubmit="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 262px; top: 336px; position: absolute; width: 230px"
                                    title="Insira o bairro do Associado (Ex: Centro)" value="#{Endereco.bairro}"/>
                                <ice:inputText binding="#{Associados$AssociadoCadastrar.campoComplemento}" id="campoComplemento" maxlength="200"
                                    partialSubmit="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 262px; top: 360px; position: absolute; width: 230px"
                                    title="Campo Opcional" value="#{Endereco.complemento}"/>
                                <ice:inputText binding="#{Associados$AssociadoCadastrar.campoSitio}" id="campoSitio" maxlength="200" partialSubmit="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 262px; top: 384px; position: absolute; width: 230px"
                                    title="Campo Opcional" value="#{Associado.sitio}"/>
                                <ice:selectOneMenu binding="#{Associados$AssociadoCadastrar.comboEstado}" id="comboEstado" partialSubmit="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; left: 262px; top: 408px; position: absolute; width: 230px"
                                    title="Selecione um Estado" valueChangeListener="#{Associados$AssociadoCadastrar.comboEstado_processValueChange}">
                                    <f:selectItems id="selectOneMenu1selectItems1" value="#{Associados$AssociadoCadastrar.estados}"/>
                                </ice:selectOneMenu>
                                <ice:selectOneMenu binding="#{Associados$AssociadoCadastrar.comboCidade}" id="comboCidade"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; left: 262px; top: 432px; position: absolute; width: 230px" title="Selecione uma Cidade">
                                    <f:selectItems id="selectOneMenu1selectItems2" value="#{Associados$AssociadoCadastrar.cidades}"/>
                                </ice:selectOneMenu>
                                <ice:inputText binding="#{Associados$AssociadoCadastrar.campoCep}" id="campoCep" maxlength="9" onkeypress="mascara(this,cep);"
                                    partialSubmit="true" required="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 262px; top: 456px; position: absolute; width: 230px"
                                    title="Exemplo CEP de Bandeirantes: 86360-000" value="#{Endereco.cep}"/>
                                <ice:selectOneMenu binding="#{Associados$AssociadoCadastrar.comboBanco}" id="comboBanco" partialSubmit="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; left: 262px; top: 480px; position: absolute; width: 230px" title="Selecione um Banco">
                                    <f:selectItems id="selectOneMenu1selectItems3" value="#{Associados$AssociadoCadastrar.bancos}"/>
                                </ice:selectOneMenu>
                                <ice:selectOneMenu binding="#{Associados$AssociadoCadastrar.comboTipoConta}" id="comboTipoConta" partialSubmit="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; left: 262px; top: 504px; position: absolute; width: 230px"
                                    title="Selecione o tipo da conta" value="#{Associado.tipoConta}">
                                    <f:selectItems id="selectOneMenu1selectItems4" value="#{Associados$AssociadoCadastrar.contas}"/>
                                </ice:selectOneMenu>
                                <ice:inputText binding="#{Associados$AssociadoCadastrar.campoAgencia}" id="campoAgencia" maxlength="10" partialSubmit="true"
                                    required="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 262px; top: 528px; position: absolute; width: 230px"
                                    title="Informe a agência" value="#{Associado.agencia}"/>
                                <ice:inputText binding="#{Associados$AssociadoCadastrar.campoNumero}" id="campoNumero" maxlength="15" partialSubmit="true"
                                    required="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; left: 262px; top: 552px; position: absolute; width: 230px"
                                    title="Informe a conta, apenas números" value="#{Associado.conta}"/>
                                <!-- Painel Opções -->
                                <ice:panelLayout id="painelOpcoes" layout="flow" style="height: 46px; left: 0px; top: 0px; position: absolute; width: 980px; -rave-layout: grid">
                                    <ice:graphicImage binding="#{Associados$AssociadoCadastrar.imagemSituacao}" id="imagemSituacao"
                                        style="height: 45px; left: 0px; top: 0px; position: absolute; width: 64px" value="/resources/botaoSituacaoAtivo.png"/>
                                    <ice:commandButton action="#{Associados$AssociadoCadastrar.botaoNovo_action}" alt="novo"
                                        binding="#{Associados$AssociadoCadastrar.botaoNovo}" id="botaoNovo" image="/resources/botaoNovo.png" immediate="true"
                                        style="height: 45px; left: 168px; top: 0px; position: absolute; width: 64px" title="Novo" value="Novo"/>
                                    <ice:commandButton action="#{Associados$AssociadoCadastrar.botaoConsultar_action}" alt="consultar"
                                        binding="#{Associados$AssociadoCadastrar.botaoConsultar}" id="botaoConsultar" image="/resources/botaoConsultar.png"
                                        immediate="true" style="height: 45px; left: 240px; top: 0px; position: absolute; width: 64px" title="Consultar" value="Consultar"/>
                                    <ice:commandButton action="#{Associados$AssociadoCadastrar.botaoAlterar_action}" alt="alterar"
                                        binding="#{Associados$AssociadoCadastrar.botaoAlterar}" id="botaoAlterar" image="/resources/botaoAlterar.png"
                                        immediate="true" style="height: 45px; left: 312px; top: 0px; position: absolute; width: 64px" title="Alterar" value="Alterar"/>
                                    <ice:commandButton action="#{Associados$AssociadoCadastrar.botaoDesativar_action}" alt="desativar"
                                        binding="#{Associados$AssociadoCadastrar.botaoDesativar}" id="botaoDesativar" image="/resources/botaoInativo.png"
                                        immediate="true" partialSubmit="true" style="height: 45px; left: 384px; top: 0px; position: absolute; width: 64px"
                                        title="Desativar" value="Desativar"/>
                                    <ice:commandButton action="#{Associados$AssociadoCadastrar.botaoCadastrar_action}" alt="Salvar/Cadastrar"
                                        binding="#{Associados$AssociadoCadastrar.botaoCadastrar}" id="botaoCadastrar" image="/resources/botaoSalvar.png"
                                        style="height: 45px; left: 456px; top: 0px; position: absolute; width: 64px" title="Salvar/Cadastrar" value="Cadastrar"/>
                                    <ice:commandButton action="#{Associados$AssociadoCadastrar.botaoLimpar_action}" alt="limpar"
                                        binding="#{Associados$AssociadoCadastrar.botaoLimpar}" id="botaoLimpar" image="/resources/botaoLimpar.png"
                                        immediate="true" style="height: 45px; left: 600px; top: 0px; position: absolute; width: 64px" title="Limpar" value="limpar"/>
                                    <ice:commandButton action="#{Associados$AssociadoCadastrar.botaoSair_action}" alt="sair" id="botaoSair"
                                        image="/resources/botaoSair.png" immediate="true"
                                        style="height: 45px; left: 912px; top: 0px; position: absolute; width: 64px" title="Sair" value="Sair"/>
                                    <ice:commandButton action="#{Associados$AssociadoCadastrar.botaoImprimir_action}" alt="limpar"
                                        binding="#{Associados$AssociadoCadastrar.botaoImprimir}" id="botaoImprimir" image="/resources/botaoImprimir.png"
                                        immediate="true" style="height: 45px; left: 528px; top: 0px; position: absolute; width: 64px" title="Limpar" value="limpar"/>
                                </ice:panelLayout>
                            </ice:panelLayout>
                        </ice:panelGroup>
                    </ice:form>
                </ice:outputBody>
            </body>
        </ice:outputHtml>
    </f:view>
</jsp:root>
